package com.turnengine.client.global.game.command;

import com.javabi.codebuilder.generated.IGeneratedCommand;
import com.turnengine.client.global.command.IGlobalExecutableCommand;
import com.turnengine.client.global.game.bean.IGameHost;

/**
 * The I Get Game Host By Name.
 */
public interface IGetGameHostByName extends IGeneratedCommand, IGlobalExecutableCommand<IGameHost>, Comparable<IGetGameHostByName> {

	/**
	 * Returns the name.
	 * @return the name.
	 */
	String getName();

	/**
	 * Returns the port.
	 * @return the port.
	 */
	int getPort();

	/**
	 * Sets the name.
	 * @param name the name to set.
	 */
	void setName(String name);

	/**
	 * Sets the port.
	 * @param port the port to set.
	 */
	void setPort(int port);
}
